Repository navigation
Conversation
The run view of the I/O Schema run outputs (cloud-components#615, c24a517, stacked on #614 and #613) replaces the f28c15c tarballs. Temporary: they are rebuilt from the integration branch feat/io-schema once it holds the stack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Runs started from an I/O Schema get io_schema.* tags: the source (trs, url or upload), the TRS tool version, the descriptor type and, for schemas by URL, the URL. A provider wrapper adds them to the run request, so the Cloud Components need no change. loadRunSchema finds the schema again from the tags, through Krini's TRS route or by URL. The mock WES keeps the run requests, with their tags, and takes seeded runs for the run view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The run details read the run's provenance tags, load its schema and pass it to the run view, which shows the outputs by their titles and descriptions. Runs from uploaded schemas, and schemas that can't be loaded, show the outputs as reported, with a notice. The wrapper takes an optional output provider for viewers and downloads, which no WES offers yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewer's GuideData structuresDefine the I/O Schema provenance tags and reload logic, and extend schema-run results to retain the source information needed to record and find the schema again.
Uses of the APIApply provenance tags when submitting schema-backed runs, then read run-log tags to reload and supply the schema and optional output provider to the run view.
DocumentationDocument provenance tags, schema-based output hints, fallback behaviour, and the current limitation on fetching output files.
TestsVerify provenance encoding, schema reload behaviour, and the provider tag wrapper, and exercise submission tags and run-output hints through the mock WES service.
Lock files and vendored codeReplace the vendored Cloud Components build used for the run-output integration and update dependency lock data to match it.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
📖 4 files modified
Preview · build overview · krini · built Dec. 4, 2026, 1:44 p.m. UTC |
Part of #132
Note
Stacked on #155 (base
feat/io-schema-forms-proposal); it gets retargeted todevonce #155 merges. Until the Cloud Components integration branchfeat/io-schemaholds cloud-components#613-#615, this branch vendors a local build of cloud-components#615's head (c24a517). It will be rebased onto #155's rebuilt tarballs.Summary
The run view shows the outputs of runs started from an I/O Schema by the schema's titles and descriptions (#132, steps 1 and 3):
io_schema.source(trs,urlorupload),io_schema.trs_url,io_schema.tool_id,io_schema.version_id,io_schema.descriptor_type, andio_schema.urlfor a schema by URL. A provider wrapper (withRunTags) adds them to the run request, so the Cloud Components need no change. They override user tags of the same names.ecc-run-log-changed) and find the schema again (loadRunSchema): through Krini's TRS route (only for tool registries of the service registry) or by its HTTPS URL, without credentials. They pass it asioSchematoecc-client-ga4gh-wes-run, which shows the normalised outputs, partial ones included.ECCClientGa4ghWesRunClienttakes an optionaloutputProvider(WesOutputProvider) for viewers and downloads. None is passed yet (see below).The tag names and the decision to record the schema URL only for URL sources are Claude's proposal. For TRS sources, the TRS tool version identifies the schema, and the TRS file URL isn't fetchable from the browser anyway (no CORS).
What's left of #132
s3://<run bucket>/<prefix>/files/<path>(internal/runner/wdl.go,persistLocalOutputPath) and has no route for users to fetch output files: its storage gateway serves task capability URLs only. So on Conquest, Krini shows titles, descriptions and URIs, but no table or report viewers and no downloads. Once Conquest offers an owner-checked route for output files, Krini passes anoutputProviderfor it.Depends on
ecc-client-ga4gh-wes-run-outputwithout a guard after Krini's React wrappers have defined it, so the schema view falls back to the raw outputs. The e2e testsee the outputs of a run by its I/O Schemafails for that reason until the fix lands.Verification
bun run lint: clean.bunx tsc --noEmit: clean.npx vitest run --coverage: 613 tests passed, 100% statements, branches, functions and lines (new:src/lib/run-schema.test.ts;schema-runrecords the provenance).npx playwright test e2e/io-schema.spec.ts e2e/io-schema-outputs.spec.ts --project=chromium: 6 passed, 1 failed. The submit test checks the provenance tags. The upload notice passes. The output titles test fails on the Cloud Components double-define bug above.🤖 Generated with Claude Code
Summary by Sourcery
Show run outputs with I/O Schema context and retain clear fallbacks when the schema cannot be recovered.
New Features:
Enhancements:
Build:
Documentation:
Tests: